<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>demo</title>
  <script type="text/javascript" src="./vue.js"></script>
</head>

<body>
  <div id="app">
    <p>选项框三联</p>
    <input v-model="agree" type="checkbox"> 同意此协议
    <hr>
    <p>多选</p>
    选项1<input value="选项1" v-model="moreChoice" type="checkbox"> 
    选项2<input value="选项2" v-model="moreChoice" type="checkbox"> 
    选项3<input value="选项3" v-model="moreChoice" type="checkbox"> 
    <hr>
    <p>选择</p>
    男<input v-model="sex" value="男" name="sex" type="radio">
    女<input v-model="sex" value="女" name="sex" type="radio">
    <hr>
    <p>下拉</p>
    <select v-model="selector">
      <option value="长沙">长沙</option>
      <option value="北京">北京</option>
      <option value="香港">香港</option>
      <option value="南京">南京</option>
      <option value="天津">天津</option>
    </select>
    <hr>
    
  </div>
</body>
<script type="text/javascript">
  Vue.config.productionTip = false;
  const vm = new Vue({
    el: "#app",
    data() {
      return {
        value: "",
        agree:false,
        moreChoice:[],
        sex:null,
        selector:[]
        
      }
    }
  })
</script>

</html>